package com.android.plc.classholder;

public class Room extends BasicItem
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1424075886593700743L;
	public String name;
	public int code;

	public Room(Type type)
	{
		super(type);
	}

	public Room(String name, int code)
	{
		super(Type.NORMAL_ITEM);
		this.name = name;
		this.code = code;
	}

	@Override
	public String toString()
	{
		return super.toString() == null ? this.name : super.toString();
	}
}
